package com.ihdf.serve.minimum_fee.mapper;


import com.ihdf.serve.minimum_fee.entity.splitProvince;
import com.ihdf.serve.minimum_fee.entity.MinimumFee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SearchMinimumFeeRouteMapper {
    MinimumFee getMinimumFee(@Param("enStationId") String enID, @Param("exStationId") String exID, @Param("vehicleType") int vType);

    MinimumFee getMinimumFee_with_version(@Param("enStationId") String enID, @Param("exStationId") String exID, @Param("vehicleType") int vType, @Param("version") long version);

    List<splitProvince> getSplitprovince(@Param("enStationId") String enID, @Param("exStationId") String exID, @Param("vehicleType") int vType);

    List<splitProvince> getSplitprovince_with_version(@Param("enStationId") String enID, @Param("exStationId") String exID, @Param("vehicleType") int vType, @Param("version") long version);
}
